# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: Thomas Baechler <thomas@archlinux.org>

pkgname=b43-fwcutter
pkgver=019
pkgrel=1
pkgdesc="firmware extractor for the b43 kernel module"
url="http://wireless.kernel.org/en/users/Drivers/b43"
depends=('glibc')
license=('GPL')
arch=('i686' 'x86_64')
source=("http://bues.ch/b43/fwcutter/${pkgname}-${pkgver}.tar.bz2")
md5sums=('19d1f4226a625756726bdf7ed5dc2a0a')

build() {
	cd $srcdir/$pkgname-$pkgver
	make
}

package() {
	cd $srcdir/$pkgname-$pkgver
	install -D -m755 b43-fwcutter $pkgdir/usr/bin/b43-fwcutter
	install -D -m644 b43-fwcutter.1 $pkgdir/usr/share/man/man1/b43-fwcutter.1
}
